#ifndef __QUEUE_H__
#define __QUEUE_H__

#include "seqlist.h"

typedef seq_t queue_t;

extern int queue_init(queue_t **q, int size, int capacity);

extern int queue_empty(const queue_t *q);

extern int queue_enqueue(queue_t *q, const void *data);

extern int queue_dequeue(queue_t *q, void *data);

extern void queue_destroy(queue_t **q);

#endif
